package fr.babostesting.examples.mobile.controllers.app 
{
	import fr.babos.core.mvc.concrete.ViewController;
	import fr.babostesting.examples.mobile.views.app.MExampleAppView;
	
	/**
	 * @author ZoulouX
	 */
	public class MExampleAppController extends ViewController 
	{
		/**
		 * Constructeur
		 */
		public function MExampleAppController ()
		{
			super();
			
			trace("MExampleAppController{}");
		}
		
		/**
		 * Démarrage
		 */
		override public function turnOn (pContextInfo:Object = null):void
		{
			trace("MExampleAppController.turnOn");
			
			// Attacher la vue
			attachView(MExampleAppView);
			
			turnOnView(pContextInfo);
		}
		
		/**
		 * Arrêt
		 */
		override public function turnOff (pContextInfo:Object = null):void
		{
			trace("MExampleAppController.turnOff");
			
			turnOffView(pContextInfo);
		}
	}
}